package com.hducms.cms.dao;

import java.util.List;
import java.util.Map;

import com.hducms.cms.entity.main.CmsRole;

public interface CmsRoleDao {
	
	/**
	 * 获取角色列表
	 * @return
	 */
	public List<CmsRole> getList();

	public CmsRole findById(Integer id);
//
	public void save(CmsRole bean);
	
	public void insertPermission(Map<String, Object> map);

	public void update(CmsRole cmsRole);

	public void deleteRoleById(Integer id);
	public void deletePermissionById(Integer id);
}